package com.rm2pt.generator.springboot.LabManage.utils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;import org.springframework.stereotype.Component;
import com.rm2pt.generator.springboot.LabManage.service.*;
@Component
	public class ServiceManage {
	@Lazy
	@Autowired
	private LabManageSystem labManageSystem;
	@Lazy
	@Autowired
	private ThirdPartyServices thirdPartyServices;
	@Lazy
	@Autowired
	private CreateTeamService createTeamService;
	@Lazy
	@Autowired
	private JoinTeamService joinTeamService;
	@Lazy
	@Autowired
	private CreatePlanService createPlanService;
	@Lazy
	@Autowired
	private CreateDailyService createDailyService;
	@Lazy
	@Autowired
	private CheckPlanService checkPlanService;
	@Lazy
	@Autowired
	private ManageDailyService manageDailyService;
	@Lazy
	@Autowired
	private ManageAccountService manageAccountService;
	public Object getService(String name) {
	if("LabManageSystem".equals(name)) {
			return labManageSystem;
		}
		else if("ThirdPartyServices".equals(name)) {
			return thirdPartyServices;
		}
		else if("CreateTeamService".equals(name)) {
			return createTeamService;
		}
		else if("JoinTeamService".equals(name)) {
			return joinTeamService;
		}
		else if("CreatePlanService".equals(name)) {
			return createPlanService;
		}
		else if("CreateDailyService".equals(name)) {
			return createDailyService;
		}
		else if("CheckPlanService".equals(name)) {
			return checkPlanService;
		}
		else if("ManageDailyService".equals(name)) {
			return manageDailyService;
		}
		else if("ManageAccountService".equals(name)) {
			return manageAccountService;
		}
		return null;
	}
	}
	